//
//  iHDNextStepButton.h
//  iHomeDesign
//
//  Created by WC on 2020/3/22.
//  Copyright © 2021年 YH. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface SYYCustomButton : UIButton


- (instancetype)initWithCornerRadius:(CGFloat)cornerRadius withTitle:(NSString *)title font:(CGFloat)font withClickBlock:(void(^)(UIButton *sender))clickBlock;

- (instancetype)initWithCornerRadius:(CGFloat)cornerRadius withTitle:(NSString *)title font:(CGFloat)font bgColor:(UIColor *)bgColor titleColor:(UIColor *)titleColor withClickBlock:(void(^)(UIButton *sender))clickBlock;


- (instancetype)initWithBackgroundColor:(UIColor *)backgroundColor cornerRadius:(CGFloat)cornerRadius borderWidth:(CGFloat)borderWidth borderColor:(UIColor *)borderColor title:(NSString *)title titleColor:(UIColor *)titleColor titleFont:(CGFloat)titleFont withClickBlock:(void(^)(UIButton *sender))clickBlock;






- (instancetype)initWithGradientBgImgSize:(CGSize)bgImgSize cornerRadius:(CGFloat)cornerRadius clickBlock:(void(^)(UIButton *sender))clickBlock;
- (instancetype)initWithGradientStartColor:(UIColor*)startColor endColor:(UIColor*)endColor bgImgSize:(CGSize)bgImgSize cornerRadius:(CGFloat)cornerRadius clickBlock:(void(^)(UIButton *sender))clickBlock;

- (void)setStartColor:(UIColor*)startColor endColor:(UIColor*)endColor bgImgSize:(CGSize)bgImgSize cornerRadius:(CGFloat)cornerRadius;


@end

